import React, { useEffect } from "react";
import request from "../utils/request";

export default function Center() {
  useEffect(() => {
    request(
      "/api/mmdb/movie/v3/list/hot.json?ct=%E8%A5%BF%E5%AE%89&ci=42&channelId=4"
    ).then((res) => console.log(res));
    request("/user").then((res) => console.log(res));

    return () => {};
  }, []);

  return <div>Center</div>;
}
